import request from '@/utils/request';
import { exportFileByUrl, GetParams } from '@/utils/common.js';

// 法人户信息速览
export function GetQueryViewApi(url, params) {
  return request({
    url,
    method: 'get',
    params,
  });
}
// 舆情信息
export function GetCustomerSentimentInfoApi(params) {
  return request({
    url: '/hermes/customer/news/page',
    method: 'get',
    params,
  });
}
//业务交易频次Top20
export function GetFrequencyTopApi() {
  return request({
    url: '/hermes/manageCockpit/getFrequencyTop',
    method: 'get',
  });
}
//客户数量全国分布图
export function GetCustNumByRegionApi() {
  return request({
    url: 'hermes/manageCockpit/getCustNumByRegion',
    method: 'get',
  });
}

//客户数量全国分布图
export function getCoreCustomers() {
  return request({
    url: 'hermes/manageCockpit/getCoreCustomers',
    method: 'get',
  });
}
